<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>帮助指南_{$tpshop_config['shop_info_store_name']}</title>
        <link rel="shortcut icon"  href="{$tpshop_config['shop_info_store_ico']}" />
        <meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}">
        <meta name="description" content="{$tpshop_config['shop_info_store_desc']}">
        <link href="__STATIC__/Seller/css/store_joinin_new.css" rel="stylesheet" type="text/css">
        <link rel="stylesheet" type="text/css" href="__STATIC__/css/common.min.css">
        <script type="text/javascript" src="__STATIC__/Seller/js/jquery.js"></script>
    </head>
    <body>
                <!--------头部开始-------------->
    <include file="Public/header" />
    <!--------头部结束-------------->
        <script type="text/javascript">
            function show_list(t_id){
            var obj = $(".sidebar dl[show_id='" + t_id + "']");
            var show_class = obj.find("dt i").attr('class');
            if (show_class == 'hide') {
            obj.find("dd").show();
            obj.find("dt i").attr('class', 'show');
            } else{
            obj.find("dd").hide();
            obj.find("dt i").attr('class', 'hide');
            }
            }
        </script>
        <div class="breadcrumb"><span class="icon-home"></span><span>
            <foreach name="navigate_user" key="k" item="v">
                <if condition="$k neq '首页'"> > </if>  
                <a href="{$v}">{$k}</a> 
            </foreach> </div>
        <div class="main">
            <div class="sidebar">
                <div class="title">
                    <h3>操作帮助指南</h3>
                </div>
                <div class="content">
                    <tpshop sql="select * from `__PREFIX__article_cat` where cat_id in(1,2)" key="k" item='v'>
                        <dl show_id="{$v[cat_id]}" >
                            <dt onclick="show_list(&#39;{$v[cat_id]}&#39;);">
                                <i class="<if condition="$article['cat_id'] eq $v['cat_id']">show<else/>hide</if>"></i>{$v[cat_name]}</dt>
                            <dd style="display: <if condition="$article['cat_id'] eq $v['cat_id']">block<else/>none</if>;">
                                <ul>
                                    <tpshop sql="select * from `__PREFIX__article` where cat_id = $v[cat_id]" key="k2" item='v2'> 
                                        <li>
                                            <i class=""></i>
                                            <a href="{:U('Home/Article/detail',array('article_id'=>$v2[article_id]))}">{$v2[title]}</a>
                                        </li>
                                    </tpshop> 
                                </ul>
                            </dd>
                        </dl>
                    </tpshop>
                </div>
                <div class="title">
                    <h3>平台联系方式</h3>
                </div>
                <div class="content">
                    <ul>
                        <li>电话：{$tpshop_config['shop_info_phone']}</li>
                        <li>Q Q：{$tpshop_config['shop_info_qq']}</li>
                    </ul>
                </div>  </div>
            <div class="right-layout">
                <div class="article-con">
                    <h1>{$article.title}</h1>
                    <h2>{$article.publish_time|date='Y-m-d',###}</h2>
                    <div class="default">
                        {$article.content|htmlspecialchars_decode}
                    </div>
                </div>
            </div>
        </div>
        <div id="faq">
            <div class="faq-wrapper">
            </div>
        </div>
        <div style="clear: both;"></div>
        <!--导入用户中心的底部-->
       <!--------footer-开始-------------->
    <include file="Public/footer" />
    <!--------footer-结束-------------->
    </body>
    </html>